package middol.test

import grails.events.annotation.Publisher
import grails.gorm.transactions.Transactional
import groovy.transform.CompileStatic

/**
* @Description:    test
* @Author:         zhangjiayu@middol.com
* @CreateDate:     2020/10/23 10:38
* @Version:        1.0
*/
@CompileStatic
class TestService {

    @Transactional
    @Publisher
    def test(Test record) {
        record.save()
        println '111111111111111111'
        record
    }
}
